import sqlite3

conn = sqlite3.connect('test.db')

cursor = conn.cursor()

cursor.execute('select * from user1')

data = cursor.fetchall()

print(data)

cursor.close()

conn.close()
